﻿@{
    Layout = null;
}
@using WH.NurseSys.Model;
<!DOCTYPE html>

<html>
<head>
    <title>Insert</title>
</head>
<body>
<form action="/admin/doctor/insert" method="post">
用户名:<input type="text" name="username" /><br />
昵称:<input type="text" name="nickname" /><br />
密码：<input type="password" name="pwd1" /><br />
重复密码：<input type="password" name="pwd2" /><br />
科室:
<select name="deptId">
    @{
        List<Dept> deptList = ViewBag.DeptList as List<Dept>;
        foreach(Dept dept in deptList)
        {
            <option value="@dept.Id">@dept.Name</option>
        }
    }
</select>
<input type="submit" />
</form>
</body>
</html>
